package com.iims.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iims.common.core.domain.entity.SysUser;
import com.iims.system.domain.SysGroup;
import com.iims.system.domain.SysGroupUser;

import java.util.List;

/**
 * 用户与分组关联表 数据层
 *
 * @author fanpei
 */
public interface SysGroupUserMapper extends BaseMapper<SysGroupUser> {

    List<SysGroup> selectGroupListByUserId(Long userId);

    List<SysUser> selectUserListByGroupId(Long groupId);
}
